package com.seari.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.seari.bean.AlarmDeploy;
import com.seari.mapper.DataTableMapper;


@RestController
public class DataTableController {
	
	
	@Autowired
	private DataTableMapper dataTableMapper;
	
	@RequestMapping("/getDataTables")
	public List<AlarmDeploy> getAlarmDeploys() {
		List<AlarmDeploy> dataTables=dataTableMapper.queryAll();
		return dataTables;
	}
	

	

}
